package com.linrui.user.service;

import com.linrui.basic.utils.AjaxResult;
import com.linrui.user.domain.Logininfo;
import com.linrui.basic.service.IBaseService;
import com.linrui.user.dto.AccountLoginDTO;
import com.linrui.user.dto.SmsLoginDto;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author linrui
 * @since 2022-11-14
 */
public interface ILogininfoService extends IBaseService<Logininfo> {

    AjaxResult accountLogin(AccountLoginDTO dto);

    AjaxResult smsLogin(SmsLoginDto dto);
}
